package com.firefly.admin.config.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import com.firefly.admin.common.vo.BaseEntity;

import java.util.List;

@Data
@ToString
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "FySystemDictionary", description = "系统字典表")
public class FySystemDictionary extends BaseEntity {

    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "字典ID")
    private Long dictionaryId;

    @ApiModelProperty(value = "字典名称")
    private String dictionaryName;

    @ApiModelProperty(value = "字典编码")
    private String dictionaryCode;

    @ApiModelProperty(value = "字典状态", notes = "1:启用 0:停用")
    private String dictionaryStatus;

    @ApiModelProperty(value = "字典描述")
    private String dictionaryDesc;

    @ApiModelProperty(value = "字典项列表")
    @TableField(exist = false)
    private List<FySystemDictionaryItem> itemList;
}
